package de.koller.reason.gui.textureObj;

public class SubPart implements IPart {

	private final float sx;
	private final float sy;
	private final float sw;
	private final float sh;

	public SubPart( float sx, float sy, float sw, float sh ) {
		this.sx = sx;
		this.sy = sy;
		this.sw = sw;
		this.sh = sh;
	}

	@Override
	public float getSubHeight() {
		return sh;
	}

	@Override
	public float getSubWidth() {
		return sw;
	}

	@Override
	public float getSubX() {
		return sx;
	}

	@Override
	public float getSubY() {
		return sy;
	}
	
}
